widget: Drop the ::size-allocate signal
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2020 03:12:20 +0000 (23:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2020 18:27:45 +0000 (14:27 -0400)
commit56e590bd3147cdb3211fbe61d1f4cad7a392fffa
treec1c76ea108746fded202d38d69803d3fe2d7e780
parent64b673853b869f73dac5ad235f184e83d8db3c21
widget: Drop the ::size-allocate signal

This signal is mainly used for bad things, and we
don't want to emit signals during layout if we can
avoid it.

If you are subclassing, you should either use a
layout manager or override the size_allocate vfunc.

If you are using a GtkDrawingArea or GtkGLArea,
use their ::resize signals to learn about size
changes.

Fixes: #2705
gtk/gtkwidget.c